package com.xuecheng.managecms.service;

import com.xuecheng.framework.domain.system.SysDictionary;
import com.xuecheng.managecms.dao.SysDictionaryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author jl
 * @description
 * @date 2019-08-28 11:27
 */
@Service
public class SysDictionaryService {
    @Autowired
    private SysDictionaryRepository sysDictionaryRepository;

    public SysDictionary findByDType(String dType){
        return sysDictionaryRepository.findByDType(dType);
    }
}
